package work.chenxr.knife4j.one.controller;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Chenxr
 * @Date 2023/11/02
 * @Description
 */
@Tag(name = "排序测试")
@ApiSupport(order = 1)
@RestController
@RequestMapping("/one")
public class TestSortController {
    @Operation(summary = "排序测试")
    @ApiOperationSupport(order = 1, author = "陈星星")
    @GetMapping(value = "/sort", produces = MediaType.APPLICATION_JSON_VALUE)
    public Object sort() {
        return "排序测试";
    }
}
